package com.tt.fashionWebSite.service;

import com.tt.fashionWebSite.dto.ChiTietSanPhamFullDto;
import com.tt.fashionWebSite.dto.GioHangDto;
import com.tt.fashionWebSite.dto.SanPhamFullDto;

import java.util.List;

/**
 * Created by isoft-work 5 on 12/8/2014.
 */
public interface ProductService {
   List<SanPhamFullDto> getProductByIdDMSP(String gender, String idDMSP);

   SanPhamFullDto getProduct(String idSP);

   List<SanPhamFullDto> getProductFromRule(String idSP, GioHangDto gioHangDto);

   List<SanPhamFullDto> getProductSearch(String name);

   GioHangDto addCart(ChiTietSanPhamFullDto chiTietSanPhamFull, GioHangDto gioHang);

   GioHangDto updateCart(String idCTSP,Integer num, GioHangDto gioHang);;

   GioHangDto deleteCart(String idCTSP, GioHangDto gioHang);
}
